package com.bckj.fastboot.paid.biz.domain.pay.gateway;

import com.bckj.fastboot.paid.api.exceptions.PayException;
import com.bckj.fastboot.paid.api.model.PayRequest;
import com.bckj.fastboot.paid.api.model.PayResponse;

public interface PayGateway {

    default String getPayWay() {
        return null;
    }

    default PayResponse pay(PayRequest request) throws PayException {
        throw new UnsupportedOperationException();
    }
}
